-- GENERATED SPELL FOR [Shattered Sun Sentry] --


function spell0_24994(pUnit, Event) --@Crystal Strike,n/a--
pUnit:FullCastSpellOnTarget(33688,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24994', 653, 1)
end

function Sorts_24994(pUnit, Event)
local choix_sorts_24994 = math.random(0, 0)
if choix_sorts_24994 == 0 then
pUnit:RegisterEvent('spell0_24994', 1, 1)
end
end

function mob24994_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24994', math.random(1500, 3000), 1)
end

function mob24994_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24994_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24994_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24994, 1, 'mob24994_Action')
RegisterUnitEvent(24994, 2, 'mob24994_Leave')
RegisterUnitEvent(24994, 3, 'mob24994_Kill')
RegisterUnitEvent(24994, 4, 'mob24994_Die')
